package com.example.lockfulldemo.bo;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class LombkTest extends ValidTest{
    private String day;

    public static void main(String[] args) {
        LombkTest l1 = new LombkTest();
        LombkTest l2 = new LombkTest();
        l1.setId(1);
        l1.setDay("11");
        l2.setId(2);
        l2.setDay("11");
        System.out.println(l1.equals(l2));
        l1.setId(1);
        l1.setDay("11");
        l2.setId(1);
        l2.setDay("11");
        System.out.println(l1.equals(l2));

    }
}
